package com.ruyuan.user.server.domain.model;

import com.ruyuan.common.model.Features;
import com.ruyuan.user.api.model.enums.OrgTypeEnum;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xx
 */
@Data
public class Organization {

    private Long id;

    private String name;

    private String description;

    private OrgTypeEnum orgType;

    private Long parentId;

    private Long rootId;

    private Integer priority;

    private List<Long> orgPath;

    private String creator;

    private String modifier;

    private Boolean isDeleted;

    private Date gmtCreate;

    private Date gmtModified;

    private Features features = Features.of();

}
